package com.example.api.domain.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.common.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

@Data
@ToString
@EqualsAndHashCode(callSuper = false )
@TableName(value = "user")
public class User extends BaseEntity {
    @TableField(value = "username")
    //账号
    private String username;
    //密码
    @TableField(value = "password")
    private String password;
    //性别
    private Boolean sex;
    //邮箱
    private String email;
    //头像
    private String avatar;
    //描述
    private String description;

}
